package com.origin.oss.solution.huawei;

import com.obs.services.ObsClient;
import com.origin.oss.enums.StorageType;
import com.origin.oss.solution.huawei.config.ObsConfig;
import com.origin.oss.specification.IOssClient;
import com.origin.oss.specification.domain.multipart.request.SliceUploadReq;
import com.origin.oss.specification.domain.multipart.response.CompleteSliceUploadResp;
import com.origin.oss.specification.domain.multipart.response.QuickUploadResp;
import com.origin.oss.specification.domain.multipart.response.SliceUploadResp;
import com.origin.oss.specification.domain.object.UploadObjectDomain;
import lombok.RequiredArgsConstructor;

import java.io.InputStream;

/**
 * @author yezh
 * @date 2024/2/22 18:55
 */
@RequiredArgsConstructor
public class HuaweiOssClient implements IOssClient {

    private final ObsClient obsClient;
    private final ObsConfig obsConfig;

    @Override
    public StorageType getStorageType() {
        return null;
    }

    @Override
    public UploadObjectDomain uploadFile(String fileKey, InputStream is, boolean isOverride) {
        return null;
    }

    @Override
    public QuickUploadResp quickUpload(String identifier) {
        return null;
    }

    @Override
    public SliceUploadResp sliceUpload(SliceUploadReq sliceUploadReq) {
        return null;
    }

    @Override
    public boolean checkSliceUploadComplete(SliceUploadReq sliceUploadReq) {
        return false;
    }

    @Override
    public CompleteSliceUploadResp completeSliceUpload(SliceUploadReq sliceUploadReq) {
        return null;
    }

    @Override
    public void abortSliceUpload(SliceUploadReq sliceUploadReq) {

    }

}
